package com.zhyl.demo.mapper;

import com.zhyl.demo.entity.Specialty;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;

@Mapper
public interface SpecialtyMapper {
    ArrayList<Specialty> selectList();

    Integer addNewSpecialty(Specialty specialty);

    Integer updateSpecialty(Specialty specialty);
    Integer deleteSpecialty(Integer id);
}
